package cn.edu.nenu.contract.dto;

import java.io.Serializable;


/**
 * @author Kaginux
 * @version 6:29:12 PM May 1, 2011
 */
public class SimpleTaskDTO implements Serializable {

	private static final long serialVersionUID = 1L;
	
	private int id;
	private String title;
	private boolean isProject;
	
	public SimpleTaskDTO(int id, String title, boolean isProject) {
		super();
		this.id = id;
		this.title = title;
		this.isProject = isProject;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public boolean isProject() {
		return isProject;
	}
	public void setProject(boolean isProject) {
		this.isProject = isProject;
	}
	@Override
	public String toString() {
		return "SimpleTaskDTO [id=" + id + ", title=" + title + ", isProject="
				+ isProject + "]";
	}
	
}
